package com.kaifamiao.io.d0921;

import java.io.File;
import java.io.InputStream;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Stream;

public class Demo {

    public static void main(String[] args) {
//        File file = new File("D:\\enviroments\\server\\apache-tomcat-9.0.64\\webapps\\music\\index.html");
//
//        System.out.println(file.length());

//        String str = "中国";
//
//        byte[] bytes = str.getBytes(StandardCharsets.UTF_8);
//        System.out.println(Arrays.toString(bytes));
//
//        byte[] bytes1 = str.getBytes(StandardCharsets.UTF_16);
//        System.out.println(Arrays.toString(bytes1));

//        InputStream
    }
}
